<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>The /org/freedesktop/UDisks2/block_devices/* objects: UDisks Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="UDisks Reference Manual">
<link rel="up" href="ref-dbus-overview.html" title="Overview">
<link rel="prev" href="ref-dbus-manager-well-known-object.html" title="The /org/freedesktop/UDisks2/Manager object">
<link rel="next" href="ref-dbus-drives.html" title="The /org/freedesktop/UDisks2/drives/* objects">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ref-dbus-overview.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ref-dbus-manager-well-known-object.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ref-dbus-drives.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-dbus-block-devices"></a>The /org/freedesktop/UDisks2/block_devices/* objects</h2></div></div></div>
<p>
          Objects with object paths starting with
          <code class="literal">/org/freedesktop/UDisks2/block_devices/</code>
          all represent <a class="ulink" href="http://en.wikipedia.org/wiki/Block_device#Block_devices" target="_top">block devices</a>.
          Such objects implement the
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a>
          D-Bus interface and may optionally implement other D-Bus interfaces such as
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.ZRAM.html#gdbus-interface-org-freedesktop-UDisks2-Block-ZRAM.top_of_page">org.freedesktop.UDisks2.Block.ZRAM</a>,
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Filesystem.html#gdbus-interface-org-freedesktop-UDisks2-Filesystem.top_of_page">org.freedesktop.UDisks2.Filesystem</a>,
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Partition.html#gdbus-interface-org-freedesktop-UDisks2-Partition.top_of_page">org.freedesktop.UDisks2.Partition</a> or
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Loop.html#gdbus-interface-org-freedesktop-UDisks2-Loop.top_of_page">org.freedesktop.UDisks2.Loop</a> depending on the block device in question.
        </p>
<p>
          Note that interfaces may be added and removed at
          run-time. For example, if a block device is full of zeroes
          (or, at least, have zeroes in the known metadata areas), it
          will not intially implement the <a class="link" href="gdbus-org.freedesktop.UDisks2.Filesystem.html#gdbus-interface-org-freedesktop-UDisks2-Filesystem.top_of_page">org.freedesktop.UDisks2.Filesystem</a>
          interface; however, if a filesystem is later created on the device
          (using, say, the
          <span class="citerefentry"><span class="refentrytitle">mkfs</span>(8)</span>
          command) and the filesystem is recognized by the OS (specifically, recognized by
          <span class="citerefentry"><span class="refentrytitle">udev</span>(7)</span> and its device probers), the object will gain the interface. If the device is later zeroed or formatted for use as e.g. swap-space, it will lose the
          <a class="link" href="gdbus-org.freedesktop.UDisks2.Filesystem.html#gdbus-interface-org-freedesktop-UDisks2-Filesystem.top_of_page">org.freedesktop.UDisks2.Filesystem</a>
          interface.
        </p>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>